package com.ruoyi.appointments.mapper;

import java.util.List;
import com.ruoyi.appointments.domain.Appointments;

/**
 * 预约信息Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-02
 */
public interface AppointmentsMapper 
{
    /**
     * 查询预约信息
     * 
     * @param id 预约信息主键
     * @return 预约信息
     */
    public Appointments selectAppointmentsById(Long id);

    /**
     * 查询预约信息列表
     * 
     * @param appointments 预约信息
     * @return 预约信息集合
     */
    public List<Appointments> selectAppointmentsList(Appointments appointments);

    /**
     * 新增预约信息
     * 
     * @param appointments 预约信息
     * @return 结果
     */
    public int insertAppointments(Appointments appointments);

    /**
     * 修改预约信息
     * 
     * @param appointments 预约信息
     * @return 结果
     */
    public int updateAppointments(Appointments appointments);

    /**
     * 删除预约信息
     * 
     * @param id 预约信息主键
     * @return 结果
     */
    public int deleteAppointmentsById(Long id);

    /**
     * 批量删除预约信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppointmentsByIds(Long[] ids);
}
